// 1.使用commonjs的模块化规范
const {increment,decrement} = require("./js/mathUtil.js");

console.log(increment(10, 29));
console.log(decrement(30, 20));
// 2.使用ES6的模块化的规范
import {name,age,height} from "./js/info";

console.log(name);
console.log(age);
console.log(height);

// 3.依赖css文件
require("./css/normal.css");
// 4.依赖less文件
require("./css/special.less");

document.writeln('<span>这里页面文字，哈哈哈</span>')
document.writeln('<p>新生成的p内容</p>')
import Vue from "vue";
import App from "./vue/App";

new Vue({
  el:"#app",
  template:`<App></App>`,
  components:{
    App
  }
});
